package org.jeecg.modules.operations.assistant.xcbd.service;

import org.jeecg.modules.operations.assistant.xcbd.entity.XcbdWorkflow;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 工作流程
 * @Author: jeecg-boot
 * @Date:   2024-12-21
 * @Version: V1.0
 */
public interface IXcbdWorkflowService extends IService<XcbdWorkflow> {

  /**
   * 通过主表id查询子表数据
   *
   * @param mainId
   * @return List<XcbdWorkflow>
   */
	public List<XcbdWorkflow> selectByMainId(String mainId);

    /**
     * 审批
     *
     * @param workflow
     * @param step
     */
    public void approval(XcbdWorkflow workflow, Integer step);
}
